package com.example.springboot.service;

import com.example.springboot.common.Result;
import com.example.springboot.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IMessageService extends IService<Message> {
    List<Message> getByUser(Integer userId);

}
